package com.pt25.service.sys.repository.mysql.persistence;

import com.baomidou.mybatisplus.extension.service.IService;
import com.pt25.service.sys.repository.mysql.po.AdminRolePermissionPo;

import java.util.Set;

public interface AdminRolePermissionRepo extends IService<AdminRolePermissionPo> {
    Set<Long> getPermissionIdsByRoleIds(Set<Long> roleIds);
    void delRolePermissionByRoleId(Long roleId);
    void delRolePermissionByPermissionIds(Set<Long> permissionIds);
}
